package me.edzh.spring.bootstrap.utils;

public class ResultCode {
    public static final Long OK_CODE = 0L;

    public static final Long ERROR_DEFAULT_CODE = -1L;

    public static final Long ERROR_PARAMETER_WRONG = -100L;
    public static final Long ERROR_HTTP_METHOD_NOT_SUPPORTED = -101L;


    public static final Long ERROR_DB_CODE = -200L;
    public static final Long ERROR_INTERNAL_DATA_CODE = -201L;
    public static final Long ERROR_AES_SECRET_REQUIRED = -202L;
    public static final Long ERROR_CRYPTING_ISSUES = -203L;

    public static final Long ERROR_TOKEN_INVALID_CODE = -300L;
    public static final Long ERROR_EXTERNAL_CHECK_FAILED_CODE = -301L;
    public static final Long ERROR_TOKEN_WRONG_CHARACTER_CODE = -302L;

    public static final Long ERROR_DECRYPT_ERR = -400L;
    public static final Long ERROR_SIGN_CHECK_ERR = -401L;
    public static final Long ERROR_SIGN_STAMP_OLD_ERR = -402L;

    public static final Long ERROR_SMS_CODE_DOMAIN = -1000L;
    public static final Long ERROR_OS_CODE_DOMAIN = -2000L;
    public static final Long ERROR_OS_GET_TOKEN_ERR = -2001L;


}
